/*
 * @Author: boyyang
 * @Date: 2022-01-04 10:38:08
 * @LastEditTime: 2022-01-04 10:45:08
 * @LastEditors: boyyang
 * @Description: pinia
 * @FilePath: \boyyang\src\store\index.ts
 */

import type { App } from 'vue'
import { createPinia } from 'pinia'

const store = createPinia()

const setupStore = (app: App<Element>) => {
    app.use(store)
}

export {
    setupStore,
    store
}


